package day4;

import java.util.Scanner;

public class Main1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()) { 
            int a = in.nextInt();
            int b = in.nextInt();
            int c = in.nextInt();
            int d = in.nextInt();
            int A=(a+c)/2;
            int B=c-A;
            int C=d-B;
            if (((-30 <= A && A <= 30) && (-30 <= B && B <= 30) && (-30 <= C && C <= 30))) {
                System.out.println(A + " " + B + " " + C);
            } else {
                System.out.println("No");
            }
        }
    }
}